package com.danco.training.zaneuskaya.service;

import com.danco.training.zaneuskaya.domain.Account;
import com.danco.training.zaneuskaya.service.exception.UserException;

/**
 * @author Zaneuskaya Aliaksandra
 *
 */
public interface AccountService extends EntityService<Account> {

	Account getAccountByEmail(String email) throws UserException;

	Account getAccountByEmailPassword(String email, String password)
			throws UserException;

	void logout();

}
